class Channel:
    '''
    classdocs
    '''


    def __init__(self):
        '''
        Constructor
        '''
        self.soloPFL = False
        self.mute = False
        self.group12 = False
        self.group34 = False
        self.volume = 0
        self.gain = 0
        
    def setVolume(self, volume):
        if(volume > 100):
            self.volume = 100
        elif(volume < 0):
            self.volume = 0
        else:
            self.volume = volume
            
    def setGain(self, gain):
        if(gain > 100):
            self.gain = 100
        elif(gain < 0):
            self.gain = 0
        else:
            self.gain = gain
            
    def setMute(self, mute):
        self.mute = mute
        
    def setSoloPFL(self, soloPFL):
        self.soloPFL = soloPFL
        
    def setGroup12(self, group12):
        self.group12 = group12
        
    def setGroup34(self, group34):
        self.group34 = group34